100 |
How do I disable the full-row selection in the control
axGrid1.FullRowSelect = EXGRIDLib.CellSelectEnum.exColumnSel; axGrid1.Columns.Add("Column"); axGrid1.Items.AddItem("One"); axGrid1.Items.AddItem("Two"); |
99 |
Is there any option to specify the height of the items, before adding them
axGrid1.DefaultItemHeight = 32; axGrid1.Columns.Add("Column"); axGrid1.Items.AddItem("One"); axGrid1.Items.AddItem("Two"); |
98 |
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns
axGrid1.CountLockedColumns = 1; axGrid1.BackColorLock = Color.FromArgb(240,240,240); axGrid1.ColumnAutoResize = false; (axGrid1.Columns.Add("Locked") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 1") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 2") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 3") as EXGRIDLib.Column).Width = 128; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellValue(var_Items.AddItem("locked"),1,"unlocked"); |
97 |
How do I change the control's background / foreground color on the locked area
axGrid1.CountLockedColumns = 1; axGrid1.ForeColorLock = Color.FromArgb(240,240,240); axGrid1.BackColorLock = Color.FromArgb(128,128,128); axGrid1.ColumnAutoResize = false; (axGrid1.Columns.Add("Locked") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 1") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 2") as EXGRIDLib.Column).Width = 128; (axGrid1.Columns.Add("Un-Locked 3") as EXGRIDLib.Column).Width = 128; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellValue(var_Items.AddItem("locked"),1,"unlocked"); |
96 |
How do I change the control's foreground color
axGrid1.ForeColor = Color.FromArgb(120,120,120); axGrid1.Columns.Add("Column"); axGrid1.Items.AddItem("item"); |
95 |
How do I change the control's background color
|
94 |
How do I use my own icons for my radio buttons
axGrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axGrid1.set_RadioImage(false,1); axGrid1.set_RadioImage(true,2); (axGrid1.Columns.Add("Radio") as EXGRIDLib.Column).set_Def(EXGRIDLib.DefColumnEnum.exCellHasRadioButton,true); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem("Radio 1"); var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1); var_Items.AddItem("Radio 3"); |
93 |
How do I use my own icons for checkbox cells
axGrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axGrid1.set_CheckImage(EXGRIDLib.CheckStateEnum.Unchecked,1); axGrid1.set_CheckImage(EXGRIDLib.CheckStateEnum.Checked,2); (axGrid1.Columns.Add("Check") as EXGRIDLib.Column).set_Def(EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem("Check 1"); var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1); |
92 |
How do I perform my own sorting when user clicks the column's header
axGrid1.SortOnClick = EXGRIDLib.SortOnClickEnum.exUserSort; axGrid1.Columns.Add("Column"); axGrid1.Items.AddItem("Item 1"); axGrid1.Items.AddItem("Item 2"); |
91 |
How do I disable sorting a specified column when clicking its header
|
90 |
How do I disable sorting the columns when clicking the control's header
|
89 |
How do I put a picture on the center of the control
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.MiddleCenter; |
88 |
How do I resize/stretch a picture on the control's background
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.Stretch; |
87 |
How do I put a picture on the control's center right bottom side
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.LowerRight; |
86 |
How do I put a picture on the control's center left bottom side
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.LowerLeft; |
85 |
How do I put a picture on the control's center top side
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.UpperCenter; |
84 |
How do I put a picture on the control's right top corner
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.UpperRight; |
83 |
How do I put a picture on the control's left top corner
(axGrid1.GetOcx() as EXGRIDLib.Grid).Picture = (axGrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp); axGrid1.PictureDisplay = EXGRIDLib.PictureDisplayEnum.UpperLeft; |
82 |
How do I put a picture on the control's background
|
81 |
How do I sort descending a column, and put the sorting icon in the column's header
axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem("Item 1"); var_Items.AddItem("Item 2"); var_Items.AddItem("Item 3"); axGrid1.Columns[0].SortOrder = EXGRIDLib.SortOrderEnum.SortDescending; |
80 |
How do I sort ascending a column, and put the sorting icon in the column's header
axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem("Item 3"); var_Items.AddItem("Item 1"); var_Items.AddItem("Item 2"); axGrid1.Columns[0].SortOrder = EXGRIDLib.SortOrderEnum.SortAscending; |
79 |
How do I perform my own/custom sort, using my extra strings
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortCellDataString; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellSortData(var_Items.AddItem("A"),0,"C"); var_Items.set_CellSortData(var_Items.AddItem("B"),0,"B"); var_Items.set_CellSortData(var_Items.AddItem("C"),0,"A"); var_Items.SortChildren(0,0,false); |
78 |
How do I perform my own/custom sort, using my extra numbers
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortUserData; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellSortData(var_Items.AddItem(0),0,2); var_Items.set_CellSortData(var_Items.AddItem(1),0,1); var_Items.set_CellSortData(var_Items.AddItem(2),0,0); var_Items.SortChildren(0,0,false); |
77 |
How do I perform my own/custom sort, using my extra numbers
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortUserData; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellData(var_Items.AddItem(0),0,2); var_Items.set_CellData(var_Items.AddItem(1),0,1); var_Items.set_CellData(var_Items.AddItem(2),0,0); var_Items.SortChildren(0,0,false); |
76 |
By default, the column gets sorted as strings, so how do I sort a column by time only
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortTime; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem("11:00"); var_Items.AddItem("10:10"); var_Items.AddItem("12:12"); var_Items.SortChildren(0,0,false); |
75 |
By default, the column gets sorted as strings, so how do I sort a column by date and time
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortDateTime; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/1/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/2/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/2/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/3/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/3/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.SortChildren(0,0,false); |
74 |
By default, the column gets sorted as strings, so how do I sort a column by dates
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortDate; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/1/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/2/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/2/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/3/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.AddItem(Convert.ToDateTime("1/3/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"))); var_Items.SortChildren(0,0,false); |
73 |
How do I sort a column by numbers
(axGrid1.Columns.Add("desc") as EXGRIDLib.Column).SortType = EXGRIDLib.SortTypeEnum.SortNumeric; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem(1); var_Items.AddItem(5); var_Items.AddItem(10); var_Items.SortChildren(0,0,false); |
72 |
How do I hide the control's header bar
|
71 |
How do change the visual appearance for the control's header bar, using EBN
axGrid1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); (axGrid1.GetOcx() as EXGRIDLib.Grid).BackColorHeader = 0x1000000; |
70 |
How do I remove the control's border
|
69 |
I have a hierarchy and I need to filter only root items that match, with thier childs
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; axGrid1.FilterInclude = EXGRIDLib.FilterIncludeEnum.exRootsWithChilds; EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exFilter; var_Column.Filter = "R1"; EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("R1"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("R2"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); axGrid1.ApplyFilter(); |
68 |
I have a hierarchy and I need to filter only root items that match, without thier childs
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; axGrid1.FilterInclude = EXGRIDLib.FilterIncludeEnum.exRootsWithoutChilds; EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exFilter; var_Column.Filter = "R1"; EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("R1"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("R2"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); axGrid1.ApplyFilter(); |
67 |
I have a hierarchy and I need to filter only parent items that match, including thier childs
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; axGrid1.FilterInclude = EXGRIDLib.FilterIncludeEnum.exItemsWithChilds; EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exFilter; var_Column.Filter = "R1"; EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("R1"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("R2"); var_Items.InsertItem(h,null,"C1"); var_Items.InsertItem(h,null,"C2"); axGrid1.ApplyFilter(); |
66 |
How can I get ride/hide of the "Filter For" field
|
65 |
Is there any way to get listed only visible items in the drop down filter window
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarAll,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarBlanks,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarNonBlanks,""); EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("P1") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterPattern = false; var_Column.FilterList = EXGRIDLib.FilterListEnum.exVisibleItems; EXGRIDLib.Column var_Column1 = (axGrid1.Columns.Add("P2") as EXGRIDLib.Column); var_Column1.DisplayFilterButton = true; var_Column1.DisplayFilterPattern = false; EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("R1"); var_Items.set_CellValue(h,1,"R2"); var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 1.1"),1,"Cell 1.2"); var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 2.1"),1,"Cell 2.2"); |
64 |
How do I filter for items that match exactly the specified string
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exFilter; var_Column.Filter = "Item 1"; axGrid1.Items.AddItem("Item 1"); axGrid1.Items.AddItem("Item 2"); axGrid1.Items.AddItem("Item 3"); axGrid1.ApplyFilter(); |
63 |
How can I can I programmatically filter for items with a specified icon assigned
axGrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exImage; var_Column.Filter = 1.ToString(); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellImage(var_Items.AddItem("Image 1"),0,1); var_Items.set_CellImage(var_Items.AddItem("Image 1"),0,1); var_Items.set_CellImage(var_Items.AddItem("Image 2"),0,2); var_Items.set_CellImage(var_Items.AddItem("Image 3"),0,3); axGrid1.ApplyFilter(); |
62 |
How can I can I programmatically filter the checked items
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.set_Def(EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exCheck; var_Column.Filter = 0.ToString(); axGrid1.Items.AddItem(0); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellState(var_Items.AddItem(1),0,1); axGrid1.Items.AddItem(2); axGrid1.ApplyFilter(); |
61 |
How can I can I filter programmatically the items based on some numerichal rules
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exNumeric; var_Column.Filter = "> 0 <= 1"; axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); axGrid1.ApplyFilter(); |
60 |
How can I can I filter programmatically the items based on a range/interval of dates
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exDate; var_Column.Filter = "1/1/2001 to 1/1/2002"; axGrid1.Items.AddItem("1/1/2001"); axGrid1.Items.AddItem("2/1/2002"); axGrid1.ApplyFilter(); |
59 |
How can I can I filter programmatically given a specified pattern using wild characters like * or
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exPattern; var_Column.Filter = "0*"; axGrid1.Items.AddItem(0); axGrid1.Items.AddItem("00"); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem("11"); axGrid1.ApplyFilter(); |
58 |
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exBlanks; axGrid1.ApplyFilter(); |
57 |
How can I display the column's filter
|
56 |
How can I show only the vertical scroll bar
axGrid1.ColumnAutoResize = true; axGrid1.ScrollBars = EXGRIDLib.ScrollBarsEnum.exDisableNoVertical; axGrid1.Columns.Add(1.ToString()); axGrid1.Columns.Add(2.ToString()); |
55 |
How can I show the control's grid lines only for added/visible items
axGrid1.MarkSearchColumn = false; axGrid1.DrawGridLines = EXGRIDLib.GridLinesEnum.exRowLines; axGrid1.Columns.Add("Column 1"); axGrid1.Columns.Add("Column 2"); axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); |
54 |
Can I hide the hierarchy lines
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exGroupLinesAtRoot; axGrid1.HasLines = EXGRIDLib.HierarchyLineEnum.exNoLine; axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child"); |
53 |
Can I change the style or type for the hierarchy lines
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exGroupLinesAtRoot; axGrid1.HasLines = EXGRIDLib.HierarchyLineEnum.exThinLine; axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child"); |
52 |
Can I use my own icons for the +/- ( expand/collapse ) buttons
axGrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exGroupLinesAtRoot; axGrid1.HasButtons = EXGRIDLib.ExpandButtonEnum.exCustom; axGrid1.set_HasButtonsCustom(false,1); axGrid1.set_HasButtonsCustom(true,2); axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child"); |
51 |
How do I change visual appearance of the +/- ( expand/collapse ) buttons
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exGroupLinesAtRoot; axGrid1.HasButtons = EXGRIDLib.ExpandButtonEnum.exWPlus; axGrid1.Columns.Add("Column"); EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root 1"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); h = var_Items.AddItem("Root 2"); var_Items.InsertItem(h,null,"Child"); |
50 |
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exCheck; var_Column.Filter = 0.ToString(); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarIsChecked,"Check_On"); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarIsUnchecked,"Check_Off"); axGrid1.ApplyFilter(); |
49 |
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exCheck; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarChecked,"with check on"); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarUnchecked,"with check off"); |
48 |
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateWeekDays,"Du Lu Ma Mi Jo Vi Si"); axGrid1.ApplyFilter(); |
47 |
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateMonths,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"); axGrid1.ApplyFilter(); |
46 |
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateTodayCaption,"Azi"); axGrid1.ApplyFilter(); |
45 |
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateTo,"->"); axGrid1.ApplyFilter(); |
44 |
How can I filter the items that are between an interval/range of dates
|
43 |
Can I change the "Date:" caption when the column's drop down filter window is shown
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.DisplayFilterDate = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDate,"Range"); axGrid1.ApplyFilter(); |
42 |
Can I filter for values using OR - NOT , instead AND operator
|
41 |
Can I change the NOT string in the filter bar
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exBlanks; EXGRIDLib.Column var_Column1 = (axGrid1.Columns.Add("Column 2") as EXGRIDLib.Column); var_Column1.DisplayFilterButton = true; var_Column1.FilterType = EXGRIDLib.FilterTypeEnum.exNonBlanks; axGrid1.FilterCriteria = "not %0 or %1"; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarNot," ! "); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarIsNonBlank," ! IsBlank"); axGrid1.ApplyFilter(); |
40 |
Can I change the OR string in the filter bar
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exBlanks; EXGRIDLib.Column var_Column1 = (axGrid1.Columns.Add("Column 2") as EXGRIDLib.Column); var_Column1.DisplayFilterButton = true; var_Column1.FilterType = EXGRIDLib.FilterTypeEnum.exNonBlanks; axGrid1.FilterCriteria = "%0 or %1"; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarOr," | "); axGrid1.ApplyFilter(); |
39 |
Can I change the AND string in the filter bar
|
38 |
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window
EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Column") as EXGRIDLib.Column); var_Column.DisplayFilterButton = true; var_Column.FilterType = EXGRIDLib.FilterTypeEnum.exBlanks; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarIsBlank,"Is Empty"); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarIsNonBlank,"Is Not Empty"); axGrid1.ApplyFilter(); |
37 |
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window
(axGrid1.Columns.Add("Column") as EXGRIDLib.Column).DisplayFilterButton = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarFilterTitle,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarPatternFilterTitle,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarTooltip,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarPatternTooltip,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarFilterForTooltip,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateTooltip,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarDateTitle,""); |
36 |
How can I change the "Filter For" caption in the column's drop down filter window
|
35 |
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window
(axGrid1.Columns.Add("Column") as EXGRIDLib.Column).DisplayFilterButton = true; axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarAll,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarBlanks,""); axGrid1.set_Description(EXGRIDLib.DescriptionTypeEnum.exFilterBarNonBlanks,""); |
34 |
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window
|
33 |
How can I change the position of the column
|
32 |
Can I make strikeout the column's header
(axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column).HeaderStrikeOut = true; |
31 |
How can I apply an strikeout font only a portion of the column's header
|
30 |
How can I get underlined only a portion of column's header
|
29 |
How can I underline the column's header
|
28 |
How can I apply an italic font only a portion of the column's header
|
27 |
Is there any option to make italic the column's header
|
26 |
How can I bold only a portion of the column's header
|
25 |
Is there any option to bold the column's header
|
24 |
Why child items are not shown
axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; axGrid1.Columns.Add("Column 1"); EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); |
23 |
Does your control support partial-check ( three states ) feature for each column
axGrid1.BeginUpdate(); axGrid1.LinesAtRoot = EXGRIDLib.LinesAtRootEnum.exLinesAtRoot; EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("P1") as EXGRIDLib.Column); var_Column.set_Def(EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true); var_Column.PartialCheck = true; EXGRIDLib.Column var_Column1 = (axGrid1.Columns.Add("P2") as EXGRIDLib.Column); var_Column1.set_Def(EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true); var_Column1.PartialCheck = true; EXGRIDLib.Items var_Items = axGrid1.Items; int h = var_Items.AddItem("Root"); var_Items.InsertItem(h,null,"Child 1"); var_Items.InsertItem(h,null,"Child 2"); var_Items.set_ExpandItem(h,true); axGrid1.EndUpdate(); |
22 |
Is there any option to change the color for the grid lines
|
21 |
Can I change the font to display the column's header
axGrid1.HeaderHeight = 34; (axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column).HTMLCaption = "<font Tahoma;14>Column</font> 1"; |
20 |
Can I change the height of the header bar
|
19 |
Can I display multiple icons to the column's header
|
18 |
How can I draw grid lines only for visible items
axGrid1.MarkSearchColumn = false; axGrid1.DrawGridLines = EXGRIDLib.GridLinesEnum.exRowLines; axGrid1.Columns.Add("Column 1"); axGrid1.Columns.Add("Column 2"); axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); |
17 |
How can I show the control's grid lines
axGrid1.MarkSearchColumn = false; axGrid1.DrawGridLines = EXGRIDLib.GridLinesEnum.exAllLines; axGrid1.Columns.Add("Column 1"); axGrid1.Columns.Add("Column 2"); axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); |
16 |
How can I assign a different background color for the entire column
axGrid1.MarkSearchColumn = false; (axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column).set_Def(EXGRIDLib.DefColumnEnum.exCellBackColor,255); axGrid1.Columns.Add("Column 2"); axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); |
15 |
How can I assign a check box for a cell
axGrid1.Columns.Add("Column 1"); EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.AddItem(0); var_Items.set_CellHasCheckBox(var_Items.AddItem(1),0,true); var_Items.AddItem(2); |
14 |
How can I assign checkboxes for the entire column
(axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column).set_Def(EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true); axGrid1.Items.AddItem(0); axGrid1.Items.AddItem(1); axGrid1.Items.AddItem(2); |
13 |
How can I show both scrollbars
|
12 |
How can I change the column's width
axGrid1.ColumnAutoResize = false; (axGrid1.Columns.Add("Column 1") as EXGRIDLib.Column).Width = 64; (axGrid1.Columns.Add("Column 2") as EXGRIDLib.Column).Width = 128; |
11 |
How can I show or hide a column
|
10 |
How can I hide the searching column
axGrid1.MarkSearchColumn = false; axGrid1.Columns.Add("Column 1"); axGrid1.Columns.Add("Column 2"); axGrid1.Items.AddItem(null); |
9 |
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
|
8 |
Is there any option to align the header to the left and the data to the right
(axGrid1.Columns.Add("Left") as EXGRIDLib.Column).Alignment = EXGRIDLib.AlignmentEnum.LeftAlignment; EXGRIDLib.Column var_Column = (axGrid1.Columns.Add("Right") as EXGRIDLib.Column); var_Column.Alignment = EXGRIDLib.AlignmentEnum.RightAlignment; var_Column.HeaderAlignment = EXGRIDLib.AlignmentEnum.RightAlignment; EXGRIDLib.Items var_Items = axGrid1.Items; var_Items.set_CellValue(var_Items.AddItem("left"),1,"right"); |
7 |
Can I displays a custom size picture to column's header
|
6 |
How can I insert an icon to column's header
|
5 |
How can I insert an icon to column's header
|
4 |
How can I use HTML format in column's header
|
3 |
How can I change/rename the column's name
|
2 |
How can I add multiple columns
EXGRIDLib.Columns var_Columns = axGrid1.Columns; var_Columns.Add("Column 1"); var_Columns.Add("Column 2"); |
1 |
How can I add a new column
|